package com.cskaoyan.bean.order.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 创建日期: 2022/05/08 16:42
 *
 * @author wangyonghong
 */
@Data
public class OrderGoodsEntity {
    public OrderGoodsEntity() {
    }


    public OrderGoodsEntity(Integer productId, Date addTime, Integer orderId, Integer goodsId, String goodsSn, Date updateTime, Short number, String picUrl, boolean deleted, BigDecimal price, Integer comment, Integer id, String goodsName, List<String> specifications) {
        this.productId = productId;
        this.addTime = addTime;
        this.orderId = orderId;
        this.goodsId = goodsId;
        this.goodsSn = goodsSn;
        this.updateTime = updateTime;
        this.number = number;
        this.picUrl = picUrl;
        this.deleted = deleted;
        this.price = price;
        this.comment = comment;
        this.id = id;
        this.goodsName = goodsName;
        this.specifications = specifications;
    }

    /**
     * productId : 301
     * addTime : 2022-05-08 15:51:07
     * orderId : 97
     * goodsId : 1181053
     * goodsSn : 7867
     * updateTime : 2022-05-08 15:51:07
     * specifications : ["L","M","S"]
     * number : 4
     * picUrl : http://182.92.235.201:8083/wx/storage/fetch/0v8eaf5684599qtlut8q.jpg
     * deleted : false
     * price : 567.0
     * comment : 0
     * id : 126
     * goodsName : NBA
     */

    private Integer productId;
    private Date addTime;
    private Integer orderId;
    private Integer goodsId;
    private String goodsSn;
    private Date updateTime;
    private Short number;
    private String picUrl;
    private boolean deleted;
    private BigDecimal price;
    private Integer comment;
    private Integer id;
    private String goodsName;
    private List<String> specifications;

}
